Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle reading null values from db #192

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

andrey-shishkin
Copy link
Contributor

Facing Failed to cast Primitive(null,string) to schema Optional(Primitive(string,Chunk()),Chunk()) during reading null value from a database which is corresponds to the schema like:
Field(name0 = "city", schema0 = Schema[Option[String]], get0 = _.city, set0 = (x, v) => x.copy(city = v))

@CLAassistant
Copy link

CLAassistant commented Dec 29, 2023

CLA assistant check
All committers have signed the CLA.

@andrey-shishkin andrey-shishkin force-pushed the handle-null-values-from-db branch from 3ed19db to bcf382e Compare December 29, 2023 12:58
@andrey-shishkin andrey-shishkin force-pushed the handle-null-values-from-db branch from bcf382e to 9c90148 Compare December 29, 2023 13:03
@jdegoes jdegoes merged commit ecd5c45 into zio:main Jan 16, 2024
15 checks passed
@andrey-shishkin andrey-shishkin deleted the handle-null-values-from-db branch January 16, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants